package com.example.dataimport.dao;


import com.example.dataimport.sqlprovider.ExcelImportSqlProvider;
import org.apache.ibatis.annotations.InsertProvider;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

@Mapper
public interface ExcelImportDao {

    @InsertProvider(type= ExcelImportSqlProvider.class,method="insertARecordSql")
    void insertARecord(@Param("tableName") String tableName, @Param("params")Map<String, String> params);
}
